import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入 ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 引入 axios
import axios from 'axios'

// 引于全局样式 global.less
import '@/assets/global.less'

// 注册 ElementUI
Vue.use(ElementUI)

// axios 设置默认地址
axios.defaults.baseURL = 'http://www.liulongbin.top:3008'

// axios 添加到 Vue 实例对象
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
